package dao

import (
	"zk3/global"
	"zk3/internal/model"
)

func ListChat(chat *[]model.ChatHistory) bool {
	if err := global.DB.Find(&chat).Error; err != nil {
		return false
	}
	return true
}
